<?php declare(strict_types=1);


namespace App\Rpc\Service;

use App\Rpc\Lib\IntegratingInterface;
use Swoft\Rpc\Server\Annotation\Mapping\Service;

/**
 * Class IntegratingService
 *
 * @since 2.0
 *
 * @Service()
 */
class IntegratingService implements IntegratingInterface
{
    /**
     *
     * @return array
     */
    public function add(): array
    {
        return ['status' => 1,'result' => '积分增加成功'];
    }

    public  function getStatus($msg_id):array
    {
        return ['status'=>1,'result'=>'任务处理成功还是失败'];
    }
}